package com.chen.exception;

/**
 * 自定义运行时异常类
 */
public class BusinessException extends RuntimeException{

    //知识创建异常对象
    public BusinessException(){
        super();
    }

    //创建异常对象同时指定异常信息
    public BusinessException(String message) {
        super(message);
    }
}
